package com.itheima.test;

public class StudentTest {
    public static void main(String[] args) {
        //创建对象
        //调用空参的构造
        //Student s = new Student();

        Student s1 = new Student("真伤肝",18);
        System.out.println(s1.getName());
        System.out.println(s1.getAge());
    }
}
